<template>
  <div class="home">
    <router-view></router-view>
    <!-- 底部导航栏tabbar -->
    <van-tabbar
      active-color="#e40137"
      inactive-color="#b4b4bd"
      route
      placeholder
    >
      <van-tabbar-item to="/home/enterprise">
        <template #icon>
          <i class="iconfont f29">&#xe63d;</i>
        </template>
        <template #default>
          <div class="text">
            公司
          </div>
        </template></van-tabbar-item
      >
      <van-tabbar-item to="/home/question">
        <template #icon> <i class="iconfont f29">&#xe63f;</i> </template>
        <template #default>
          <div class="text">
            刷题
          </div>
        </template></van-tabbar-item
      >
      <van-tabbar-item to="/home/find">
        <template #icon> <i class="iconfont f29">&#xe63a;</i> </template>
        <template #default>
          <div class="text">
            发现
          </div>
        </template></van-tabbar-item
      >
      <van-tabbar-item to="/home/my">
        <template #icon> <i class="iconfont f29">&#xe64b;</i> </template>
        <template #default>
          <div class="text">
            我的
          </div>
        </template></van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data () {
    return {}
  }
}
</script>

<style lang="less" scoped>
.home {
  .f29 {
    font-size: 28px;
  }
  .text {
    font-size: 10px;
    font-family: PingFangSC, PingFangSC-Regular;
    font-weight: 400;
    text-align: left;
    line-height: 14px;
    letter-spacing: 0px;
  }
}
</style>
